package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.TransactionLog;
import com.tbit.uqbike.object.pojo.TransactionOrderQuery;
import com.tbit.uqbike.object.pojo.vo.DepositIncomeVO;
import com.tbit.uqbike.object.pojo.vo.DepositTotalIncomeVO;
import com.tbit.uqbike.object.pojo.vo.TransactionOrderIncomeVO;
import com.tbit.uqbike.object.pojo.vo.TransactionOrderTotalIncomeVO;

import java.util.Date;
import java.util.List;

/**
 * 描述
 *
 * @AUTHOR: wei.xing
 * @DATE: 2022-11-11 16:07
 **/
@DS(DataSource.CAPITAL)
public interface TransactionLogDao extends BaseMapper<TransactionLog> {
    DepositTotalIncomeVO getDepositTotalIncome(Integer brandId, List<Integer> accountIds, String phone, Integer payPlatform,
                                               Integer incomeType, Date startTime, Date endTime);

    List<DepositIncomeVO> getDepositIncomeList(Integer brandId, List<Integer> accountIds, String phone, Integer payPlatform,
                                               Integer incomeType, Date startTime, Date endTime);


    TransactionOrderTotalIncomeVO getTransactionOrderTotalIncome(TransactionOrderQuery query);

    List<TransactionOrderIncomeVO> getTransactionOrderIncomeList(TransactionOrderQuery query);
}
